package by.grsu.shakh.table;

import java.util.ArrayList;
import java.util.List;

import by.grsu.shakh.entity.Book;

import com.epam.grsulab.webapi.table.AbstractTable;

public class BookTable extends AbstractTable<Book> {

	private List<Book> rows;

	@Override
	public List<Book> getRows() {
		if (rows == null) {
			rows = new ArrayList<Book>();
		}
		return rows;
	}

	@Override
	public void setRows(final List<Book> rows) {
		this.rows = rows;
	}
}